package com.che.software.testato.domain.entity.search;

import java.io.Serializable;

import com.che.software.testato.domain.enumeration.AssignmentStatus;

/**
 * Class representing an iteration search.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since July, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class IterationSearch implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = -6942305429678880730L;

	/**
	 * Members.
	 */
	private AssignmentStatus analyticalStatus, selectiveStatus;
	private Boolean analyticalNotEnded, selectiveStatusNull;
	private Integer iterationAssignmentId, iterationId, scriptId, serviceId;

	/**
	 * Default builder.
	 */
	public IterationSearch() {
		super();
	}

	/**
	 * Builder from a given service.
	 * 
	 * @param serviceId a service id.
	 */
	public IterationSearch(Integer serviceId) {
		super();
		this.serviceId = serviceId;
	}

	/**
	 * Getter for the private field value analyticalStatus.
	 * 
	 * @return the analyticalStatus field value.
	 */
	public AssignmentStatus getAnalyticalStatus() {
		return analyticalStatus;
	}

	/**
	 * Setting a value to the analyticalStatus field.
	 * 
	 * @param analyticalStatus the value to set.
	 */
	public void setAnalyticalStatus(AssignmentStatus analyticalStatus) {
		this.analyticalStatus = analyticalStatus;
	}

	/**
	 * Getter for the private field value selectiveStatus.
	 * 
	 * @return the selectiveStatus field value.
	 */
	public AssignmentStatus getSelectiveStatus() {
		return selectiveStatus;
	}

	/**
	 * Setting a value to the selectiveStatus field.
	 * 
	 * @param selectiveStatus the value to set.
	 */
	public void setSelectiveStatus(AssignmentStatus selectiveStatus) {
		this.selectiveStatus = selectiveStatus;
	}

	/**
	 * Getter for the private field value iterationId.
	 * 
	 * @return the iterationId field value.
	 */
	public Integer getIterationId() {
		return iterationId;
	}

	/**
	 * Setting a value to the iterationId field.
	 * 
	 * @param iterationId the value to set.
	 */
	public void setIterationId(Integer iterationId) {
		this.iterationId = iterationId;
	}

	/**
	 * Getter for the private field value analyticalNotEnded.
	 * 
	 * @return the analyticalNotEnded field value.
	 */
	public Boolean getAnalyticalNotEnded() {
		return analyticalNotEnded;
	}

	/**
	 * Setting a value to the analyticalNotEnded field.
	 * 
	 * @param analyticalNotEnded the value to set.
	 */
	public void setAnalyticalNotEnded(Boolean analyticalNotEnded) {
		this.analyticalNotEnded = analyticalNotEnded;
	}

	/**
	 * Getter for the private field value serviceId.
	 * 
	 * @return the serviceId field value.
	 */
	public Integer getServiceId() {
		return serviceId;
	}

	/**
	 * Setting a value to the serviceId field.
	 * 
	 * @param serviceId the value to set.
	 */
	public void setServiceId(Integer serviceId) {
		this.serviceId = serviceId;
	}

	/**
	 * Getter for the private field value iterationAssignmentId.
	 * 
	 * @return the iterationAssignmentId field value.
	 */
	public Integer getIterationAssignmentId() {
		return iterationAssignmentId;
	}

	/**
	 * Setting a value to the iterationAssignmentId field.
	 * 
	 * @param iterationAssignmentId the value to set.
	 */
	public void setIterationAssignmentId(Integer iterationAssignmentId) {
		this.iterationAssignmentId = iterationAssignmentId;
	}

	/**
	 * Getter for the private field value selectiveStatusNull.
	 * 
	 * @return the selectiveStatusNull field value.
	 */
	public Boolean getSelectiveStatusNull() {
		return selectiveStatusNull;
	}

	/**
	 * Setting a value to the selectiveStatusNull field.
	 * 
	 * @param selectiveStatusNull the value to set.
	 */
	public void setSelectiveStatusNull(Boolean selectiveStatusNull) {
		this.selectiveStatusNull = selectiveStatusNull;
	}

	/**
	 * Getter for the private field value scriptId.
	 * 
	 * @return the scriptId field value.
	 */
	public Integer getScriptId() {
		return scriptId;
	}

	/**
	 * Setting a value to the scriptId field.
	 * 
	 * @param scriptId the value to set.
	 */
	public void setScriptId(Integer scriptId) {
		this.scriptId = scriptId;
	}
}